/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package anivis.base;

import anivis.db.QueryLayer.Restriction;

/**
 *
 * @author urp
 */
public class RestrictionNotification implements Notification
{
  public Restriction     restriction;

  public RestrictionNotification(Restriction restriction)
  {
    this.restriction = restriction;
  }
  
  public Restriction getRestriction()
  {
    return restriction;
  }        
  
  public boolean isDataAvaialableNotification() 
  {
    return false;
  }

  public boolean isRestrictionNotification() 
  {
    return true;
  }
  
}
